﻿<UserControl x:Class="SpiralClock.SClock"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  Background="Gray"
             mc:Ignorable="d" Loaded="UserControl_Loaded" ClipToBounds="False" Clip="{x:Null}"
             d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.Resources>
        <DrawingBrush x:Key="spiral"  Stretch="Uniform">
            <DrawingBrush.Drawing>
                <DrawingGroup xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
                    <DrawingGroup >
                        <DrawingGroup.ClipGeometry>
                            <RectangleGeometry Rect="-3,-2.75,6.5,6" />
                        </DrawingGroup.ClipGeometry>
                        <DrawingGroup x:Name="g4934" Transform="0,-1,-1,0,0.5,0.5">


                            <GeometryDrawing x:Name="path4143">
                                <GeometryDrawing.Pen>
                                    <Pen Brush="Green" Thickness="0.03" StartLineCap="Flat" EndLineCap="Flat" LineJoin="Miter" />
                                </GeometryDrawing.Pen>
                                <GeometryDrawing.Geometry>
                                    <PathGeometry FillRule="Nonzero" Figures="M1,0C1.043,-0.273 0.972,-0.561 0.795,-0.795 0.61,-1.043 0.324,-1.209 0,-1.25 -0.339,-1.293 -0.691,-1.195 -0.972,-0.972 -1.266,-0.739 -1.459,-0.39 -1.5,0 -1.543,0.406 -1.419,0.821 -1.149,1.149 -0.869,1.49 -0.456,1.709 0,1.75 0.472,1.793 0.95,1.642 1.326,1.326 1.713,0.999 1.958,0.522 2,0 2.043,-0.538 1.866,-1.08 1.503,-1.503 1.129,-1.937 0.589,-2.208 0,-2.25 -0.605,-2.293 -1.21,-2.09 -1.679,-1.679 -2.161,-1.259 -2.458,-0.655 -2.5,0 -2.543,0.671 -2.313,1.34 -1.856,1.856 -1.388,2.384 -0.721,2.708 0,2.75 0.737,2.793 1.47,2.537 2.033,2.033 2.608,1.518 2.958,0.788 3,0" />
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                        </DrawingGroup>

                    </DrawingGroup>
                </DrawingGroup>
            </DrawingBrush.Drawing>
        </DrawingBrush>
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot" Clip="{x:Null}" ClipToBounds="False" Background="{StaticResource spiral}" >
        <Canvas Background="#50FFFF00" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" ClipToBounds="False" x:Name="canvas"/>
    </Grid>
</UserControl>
